package com.team11.server.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value = "AdminLogin对象",description = "")
public class P_C_S_T_information implements Serializable {
    private static final long serialVersionUID = 1L;


    @ApiModelProperty(value = "院系")
    @TableField("c_department")
    private String cDepartment;

    @ApiModelProperty(value = "专业")
    @TableField("c_major")
    private String cMajor;

    @ApiModelProperty(value = "年级")
    @TableField("c_grade")
    private String cGrade;

    @ApiModelProperty(value = "班级")
    @TableField("c_class")
    private String cClass;

    @ApiModelProperty(value = "班主任(教师id)")
    @TableField("t_id")
    private Integer tId;


    @ApiModelProperty(value = "教师姓名")
    @TableField("t_name")
    private String tName;

    @ApiModelProperty(value = "项目组id")
    @TableId(value = "p_id", type = IdType.AUTO)
    private Integer pId;

    @ApiModelProperty(value = "项目组名称")
    @TableField("p_name")
    private String pName;

    @ApiModelProperty(value = "设置组长(学生id)")
    @TableField("p_set_leader")
    private Integer pSetLeader;

    @ApiModelProperty(value = "是否结业")
    @TableField("p_status")
    private Integer pStatus;

    @ApiModelProperty(value = "是否是组长")
    private Integer IsLeader;

    @ApiModelProperty(value = "学号")
    @TableId("s_id")
    private String sNumber;

    @ApiModelProperty(value = "学生id")
    @TableId("sid")
    private Integer sid;


    @ApiModelProperty(value = "学生姓名")
    @TableField("s_name")
    private String sName;

    @ApiModelProperty(value = "性别")
    @TableField("s_gender")
    private Integer sGender;

    @ApiModelProperty(value = "邮箱")
    @TableField("s_email")
    private String sEmail;

    @ApiModelProperty(value = "手机号")
    @TableField("s_phone")
    private String sPhone;

    @ApiModelProperty(value = "身份证号")
    @TableField("s_id_number")
    private String sIdNumber;

    @ApiModelProperty(value = "项目角色")
    @TableField("s_project_role")
    private String sProjectRole;

}
